Optimal. Leaf size=384 \[ \frac {3 C \tan (c+d x)}{2 d \sqrt [3]{a+a \sec (c+d x)}}+\frac {3 \sqrt {2} A F_1\left (\frac {1}{6};\frac {1}{2},1;\frac {7}{6};\frac {1}{2} (1+\sec (c+d x)),1+\sec (c+d x)\right ) \tan (c+d x)}{d \sqrt {1-\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}+\frac {3^{3/4} C F\left (\text {ArcCos}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right ) \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right ) \sqrt {\frac {2^{2/3}+\sqrt [3]{2} \sqrt [3]{1+\sec (c+d x)}+(1+\sec (c+d x))^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}} \tan (c+d x)}{2 \sqrt [3]{2} d (1-\sec (c+d x)) \sqrt [3]{a+a \sec (c+d x)} \sqrt {-\frac {\sqrt [3]{1+\sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.34, antiderivative size = 384, normalized size of antiderivative = 1.00, number of steps
used = 9, number of rules used = 9, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {4140, 4009,
3864, 3863, 141, 3913, 3912, 65, 231} \begin {gather*} \frac {3 \sqrt {2} A \tan (c+d x) F_1\left (\frac {1}{6};\frac {1}{2},1;\frac {7}{6};\frac {1}{2} (\sec (c+d x)+1),\sec (c+d x)+1\right )}{d \sqrt {1-\sec (c+d x)} \sqrt [3]{a \sec (c+d x)+a}}+\frac {3^{3/4} C \tan (c+d x) \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right ) \sqrt {\frac {(\sec (c+d x)+1)^{2/3}+\sqrt [3]{2} \sqrt [3]{\sec (c+d x)+1}+2^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}} F\left (\text {ArcCos}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right )}{2 \sqrt [3]{2} d (1-\sec (c+d x)) \sqrt {-\frac {\sqrt [3]{\sec (c+d x)+1} \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}} \sqrt [3]{a \sec (c+d x)+a}}+\frac {3 C \tan (c+d x)}{2 d \sqrt [3]{a \sec (c+d x)+a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 141
Rule 231
Rule 3863
Rule 3864
Rule 3912
Rule 3913
Rule 4009
Rule 4140
Rubi steps
\begin {align*} \int \frac {A+C \sec ^2(c+d x)}{\sqrt [3]{a+a \sec (c+d x)}} \, dx &=\frac {3 C \tan (c+d x)}{2 d \sqrt [3]{a+a \sec (c+d x)}}+\frac {3 \int \frac {\frac {2 a A}{3}-\frac {1}{3} a C \sec (c+d x)}{\sqrt [3]{a+a \sec (c+d x)}} \, dx}{2 a}\\ &=\frac {3 C \tan (c+d x)}{2 d \sqrt [3]{a+a \sec (c+d x)}}+A \int \frac {1}{\sqrt [3]{a+a \sec (c+d x)}} \, dx-\frac {1}{2} C \int \frac {\sec (c+d x)}{\sqrt [3]{a+a \sec (c+d x)}} \, dx\\ &=\frac {3 C \tan (c+d x)}{2 d \sqrt [3]{a+a \sec (c+d x)}}+\frac {\left (A \sqrt [3]{1+\sec (c+d x)}\right ) \int \frac {1}{\sqrt [3]{1+\sec (c+d x)}} \, dx}{\sqrt [3]{a+a \sec (c+d x)}}-\frac {\left (C \sqrt [3]{1+\sec (c+d x)}\right ) \int \frac {\sec (c+d x)}{\sqrt [3]{1+\sec (c+d x)}} \, dx}{2 \sqrt [3]{a+a \sec (c+d x)}}\\ &=\frac {3 C \tan (c+d x)}{2 d \sqrt [3]{a+a \sec (c+d x)}}-\frac {(A \tan (c+d x)) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} x (1+x)^{5/6}} \, dx,x,\sec (c+d x)\right )}{d \sqrt {1-\sec (c+d x)} \sqrt [6]{1+\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}+\frac {(C \tan (c+d x)) \text {Subst}\left (\int \frac {1}{\sqrt {1-x} (1+x)^{5/6}} \, dx,x,\sec (c+d x)\right )}{2 d \sqrt {1-\sec (c+d x)} \sqrt [6]{1+\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}\\ &=\frac {3 C \tan (c+d x)}{2 d \sqrt [3]{a+a \sec (c+d x)}}+\frac {3 \sqrt {2} A F_1\left (\frac {1}{6};\frac {1}{2},1;\frac {7}{6};\frac {1}{2} (1+\sec (c+d x)),1+\sec (c+d x)\right ) \tan (c+d x)}{d \sqrt {1-\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}+\frac {(3 C \tan (c+d x)) \text {Subst}\left (\int \frac {1}{\sqrt {2-x^6}} \, dx,x,\sqrt [6]{1+\sec (c+d x)}\right )}{d \sqrt {1-\sec (c+d x)} \sqrt [6]{1+\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}\\ &=\frac {3 C \tan (c+d x)}{2 d \sqrt [3]{a+a \sec (c+d x)}}+\frac {3 \sqrt {2} A F_1\left (\frac {1}{6};\frac {1}{2},1;\frac {7}{6};\frac {1}{2} (1+\sec (c+d x)),1+\sec (c+d x)\right ) \tan (c+d x)}{d \sqrt {1-\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}+\frac {3^{3/4} C F\left (\cos ^{-1}\left (\frac {\sqrt [3]{2}-\left (1-\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}{\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}}\right )|\frac {1}{4} \left (2+\sqrt {3}\right )\right ) \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right ) \sqrt {\frac {2^{2/3}+\sqrt [3]{2} \sqrt [3]{1+\sec (c+d x)}+(1+\sec (c+d x))^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}} \tan (c+d x)}{2 \sqrt [3]{2} d (1-\sec (c+d x)) \sqrt [3]{a+a \sec (c+d x)} \sqrt {-\frac {\sqrt [3]{1+\sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt {3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F]
time = 2.75, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {A+C \sec ^2(c+d x)}{\sqrt [3]{a+a \sec (c+d x)}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.96, size = 0, normalized size = 0.00 \[\int \frac {A +C \left (\sec ^{2}\left (d x +c \right )\right )}{\left (a +a \sec \left (d x +c \right )\right )^{\frac {1}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {A + C \sec ^{2}{\left (c + d x \right )}}{\sqrt [3]{a \left (\sec {\left (c + d x \right )} + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {A+\frac {C}{{\cos \left (c+d\,x\right )}^2}}{{\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )}^{1/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________